package com.audi.dto;

import java.io.Serializable;

/**
 * @author CuongPH7
 * @see SmartTriggerTriggerItem, SmartTriggerWhenTriggerItem
 */
public class SmartTriggerWhenItem implements Serializable {
    /**
     * 
     */
    private static final long serialVersionUID = 4240035105996260073L;
    private int whenId;
    private int whenDeviceId;
    private String whenDeviceName;
    private int whenDevicePlaceId;
    private String whenDevicePlaceName;
    private String whenDeviceValues;
    private int whenDeviceType;
    
    public SmartTriggerWhenItem() {
        super();
    }
    
    public SmartTriggerWhenItem(int whenId, int whenDeviceId,
            String whenDeviceValues, int whenDeviceType) {
        super();
        this.whenId = whenId;
        this.whenDeviceId = whenDeviceId;
        this.whenDeviceValues = whenDeviceValues;
        this.whenDeviceType = whenDeviceType;
    }
    
    public int getWhenId() {
        return whenId;
    }
    
    public void setWhenId(int whenId) {
        this.whenId = whenId;
    }
    
    public int getWhenDeviceId() {
        return whenDeviceId;
    }
    
    public void setWhenDeviceId(int whenDeviceId) {
        this.whenDeviceId = whenDeviceId;
    }
    
    public String getWhenDeviceName() {
        return this.whenDeviceName;
    }
    
    public void setWhenDeviceName(String whenDeviceName) {
        this.whenDeviceName = whenDeviceName;
    }
    
    public int getWhenDevicePlaceId() {
        return whenDevicePlaceId;
    }
    
    public void setWhenDevicePlaceId(int whenDevicePlaceId) {
        this.whenDevicePlaceId = whenDevicePlaceId;
    }
    
    public String getWhenDevicePlaceName() {
        return whenDevicePlaceName;
    }
    
    public void setWhenDevicePlaceName(String whenDevicePlaceName) {
        this.whenDevicePlaceName = whenDevicePlaceName;
    }
    
    public String getWhenDeviceValues() {
        return whenDeviceValues;
    }
    
    public void setWhenDeviceValues(String whenDeviceValues) {
        this.whenDeviceValues = whenDeviceValues;
    }
    
    public int getWhenDeviceType() {
        return whenDeviceType;
    }
    
    public void setWhenDeviceType(int whenDeviceType) {
        this.whenDeviceType = whenDeviceType;
    }
    
}
